﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace CppUT
{
    namespace Common
    {
        public class ProcessManager
        {
            public static void KillProcess(string processName)
            {
                var processesToKill = Process.GetProcessesByName(processName);
                foreach (var process in processesToKill)
                {
                    process.Kill();
                }
            }
        }
    }
}